<template>
  <view class="bottom-button">
    <view class="button" @click="submit">确认</view>
  </view>
</template>

<script>
export default {
  name: "bottomBtn",
  data() {
    return {};
  },
  methods: {
    submit() {
      this.$emit("submit", "");
    },
  },
};
</script>

<style lang="scss" scoped>
.bottom-button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  .button {
    width: 80%;
    height: 80rpx;
    background: #1a86ff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10rpx;
    font-weight: bold;
  }
}
</style>
